package com.ohxwj.modules.sys.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.ohxwj.modules.sys.dao.SystemInfoTypeDao;
import com.ohxwj.modules.sys.entity.SystemInfoTypeEntity;
import com.ohxwj.modules.sys.service.SystemInfoTypeService;

/**
 * 消息类型
 *
 * @author xuwenjie
 * @date 2018-01-17 15:59:05
 */

@Service("systemInfoTypeService")
public class SystemInfoTypeServiceImpl implements SystemInfoTypeService {
	@Autowired
	private SystemInfoTypeDao systemInfoTypeDao;
	
	@Override
	public SystemInfoTypeEntity queryObject(Long id){
		return systemInfoTypeDao.queryObject(id);
	}
	
	@Override
	public List<SystemInfoTypeEntity> queryList(Map<String, Object> map){
		return systemInfoTypeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return systemInfoTypeDao.queryTotal(map);
	}
	
	@Override
	public void save(SystemInfoTypeEntity systemInfoType){
		systemInfoTypeDao.save(systemInfoType);
	}
	
	@Override
	public void update(SystemInfoTypeEntity systemInfoType){
		systemInfoTypeDao.update(systemInfoType);
	}
	
	@Override
	public void delete(Long id){
		systemInfoTypeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		systemInfoTypeDao.deleteBatch(ids);
	}
	
}
